package mil.af.amc.adpetracker.web.actions.struts1;

import mil.af.amc.adpetracker.service.UserService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by IntelliJ IDEA.
 * User: schevus.osborne
 * Date: Jan 29, 2007
 * Time: 12:46:30 PM
 */

public class LoginAction extends AbstractAction {

    private static Log log = LogFactory.getLog(LoginAction.class);

    private UserService userService;

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public ActionForward execute(ActionMapping mapping,
                                 ActionForm form,
                                 HttpServletRequest request,
                                 HttpServletResponse response) throws Exception {

        return mapping.findForward("success");
    }

}
